package cn.itsource.org.domain;

import cn.itsource.basic.domain.BaseDomain;
import cn.itsource.basic.util.PetConstant;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.util.Date;

//店铺
@Data
@Table(name = "t_shop")
@AllArgsConstructor
@NoArgsConstructor
public class Shop extends BaseDomain {
    //点名
    private String name;
    //电话
    private String tel;
    //注册时间
    private Date registerTime = new Date();
    //状态
    private Integer state = PetConstant.Shop.STATE_WAIT_AUTID;
    //地址
    private String address;
    //店招
    private String logo;
    /** 店铺管理 **/
    private Employee admin;

}